package com.example.android;

import android.location.Location;

import com.google.android.maps.GeoPoint;

public class Utils
{
	public static GeoPoint locationToGeoPoint(Location location)
	{
		int lat = (int) (location.getLatitude() * 1E6);
		int lng = (int) (location.getLongitude() * 1E6);
		GeoPoint point = new GeoPoint(lat, lng);
		
		return point;
	}
}
